package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Exam;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IExamService {
    Exam save(Exam exam);
    void delete(Long id);
    void update(Exam exam);
    Exam get(Long id);
    List<Exam> listAll();
    // 分页查询的方法
    PageInfo<Exam> query(QueryObject qo);

}
